.class public Les/gw;
.super Ljava/lang/Object;
.source "LatestOpenStore.java"


# static fields
.field private static b:Les/gw;


# instance fields
.field private final a:Les/bw;


# direct methods
.method static constructor <clinit>()V
    .locals 1

    .line 1
    new-instance v0, Les/gw;

    invoke-direct {v0}, Les/gw;-><init>()V

    sput-object v0, Les/gw;->b:Les/gw;

    return-void
.end method

.method private constructor <init>()V
    .locals 1

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 2
    invoke-static {}, Les/bw;->c()Les/bw;

    move-result-object v0

    iput-object v0, p0, Les/gw;->a:Les/bw;

    return-void
.end method

.method static synthetic a(Les/gw;)Les/bw;
    .locals 0

    .line 1
    iget-object p0, p0, Les/gw;->a:Les/bw;

    return-object p0
.end method

.method public static a()Les/gw;
    .locals 1

    .line 2
    sget-object v0, Les/gw;->b:Les/gw;

    return-object v0
.end method


# virtual methods
.method public final a(I[Ljava/lang/Long;)Ljava/util/List;
    .locals 10
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(I[",
            "Ljava/lang/Long;",
            ")",
            "Ljava/util/List<",
            "Landroid/util/Pair<",
            "Ljava/lang/String;",
            "Ljava/lang/Long;",
            ">;>;"
        }
    .end annotation

    .line 7
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "category"

    .line 8
    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const/16 v1, 0x3d

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const/4 p1, 0x0

    .line 9
    aget-object v1, p2, p1

    const-string v2, " AND "

    const-string v3, "timestamp"

    if-eqz v1, :cond_0

    .line 10
    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const/16 v1, 0x3e

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;

    aget-object v1, p2, p1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    :cond_0
    const/4 v1, 0x1

    .line 11
    aget-object v4, p2, v1

    if-eqz v4, :cond_1

    .line 12
    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v2, "<="

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    aget-object p2, p2, v1

    invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    .line 13
    :cond_1
    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v8

    const/4 p2, 0x2

    new-array v7, p2, [Ljava/lang/String;

    const-string p2, "path"

    aput-object p2, v7, p1

    aput-object v3, v7, v1

    .line 14
    new-instance p1, Ljava/util/LinkedList;

    invoke-direct {p1}, Ljava/util/LinkedList;-><init>()V

    .line 15
    new-instance v5, Les/gw$b;

    invoke-direct {v5, p0, p1}, Les/gw$b;-><init>(Les/gw;Ljava/util/List;)V

    .line 16
    iget-object v4, p0, Les/gw;->a:Les/bw;

    const-string v9, "timestamp DESC"

    const-string v6, "latestOpen"

    invoke-virtual/range {v4 .. v9}, Les/bw;->a(Les/bw$k;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)I

    return-object p1
.end method

.method public final a(Ljava/lang/String;)V
    .locals 2

    .line 3
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->x(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 4
    invoke-static {p1, v0}, Les/iv;->b(Ljava/lang/String;Ljava/lang/String;)I

    move-result v0

    const/16 v1, 0x64

    if-ne v0, v1, :cond_0

    return-void

    .line 5
    :cond_0
    new-instance v1, Les/gw$a;

    invoke-direct {v1, p0, p1, v0}, Les/gw$a;-><init>(Les/gw;Ljava/lang/String;I)V

    .line 6
    invoke-static {}, Les/fw;->a()Les/fw;

    move-result-object p1

    invoke-virtual {p1, v1}, Les/fw;->a(Ljava/lang/Runnable;)V

    return-void
.end method
